<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="css/bootstrap.min.css" />
    <script src="js/jquery-3.2.1.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <title>魔仙堡民宿预订平台-用户中心</title>
    <style type="text/css">
        body {
            background: url(img/bg1.jpg) no-repeat;
            background-color: rgba(240, 0, 0, 0.1);
            background-size: 100% 100%;
            background-size: cover;
            width: 100%;
        }

        h3,
        h2 {
            color: white;
        }

        h2,
        h3,
        h4 {
            color: white;
            text-align: center;
        }

        h5 {
            color: white;
            text-align: center;
        }
    </style>
</head>
<body>
<?php  require("dblink.php");
if($_SESSION["账户"]==NULL){
    echo "<script>location.href='login.php';</script>";
}
?>
<nav style=" width:100%; background-color: rgba(80, 80, 80, 0.3);>
  <div class=" container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
    <ul class="nav navbar-nav">
        <span style="float: left"><img style="width: 73px;" src="img/logo.png"></span>
        <li>
            <h2>民宿预订平台</h2>
        </li>
<!--         <li class="active"><a href="#">
                <h5>客房管理</h5>
            </a></li>
 -->
    </ul>
    <ul class="nav navbar-nav navbar-right">
        <li><a href="index.php"><h5 style="color: pink;">首页</h5></a></li>
        <li><a>
                <h5>当前登陆用户账号:
                    <?php echo $_SESSION["账户"];?>
                </h5>
            </a></li>
       <li><a href="#"><h5 style="color: pink;">联系客服</h5></a></li>
        <li><a href="user_exit.php"><h5 style="color: pink;">退出登录</h5></a></li>

    </ul>

</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>



<div class="panel " style="margin-top: 20px; width: 18%;float: left; background-color: rgba(60, 60, 60, 0.3);">
    <div id="myScrollspy">
        <ul class="nav nav-tabs nav-stacked" id="myNav">
            <li class="active">
                <h3>—用户管理—</h3>
            </li>

            <li class="active">
                <h4>预订管理</h4>
            </li>
            <li><a href="yonghu.php">
                    <h5>查看预订</h5>
                </a></li>
            <li class="active">
                <h4>申诉处理</h4>
            </li>
            <li><a href="question-yonghu.php">
                    <h5>查看申诉</h5>
                </a></li>
        </ul>
    </div>
</div>

</body>
</html>
